package com.akkainaction.tool.logger.actor;

import akka.actor.UntypedActor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class LoggerActor extends UntypedActor {

    Logger logger = LoggerFactory.getLogger(LoggerActor.class);

    @Override
    public void onReceive(Object msg) throws Exception {
        logger.info(getSelf() + "接收到的消息:[" + msg + "]");
    }
}
